//Dog.h
#ifndef DOG_H_
#define DOG_H_
#include "Pet.h"
#include <iostream>
using namespace std;
class Dog : public Pet {
public:
    Dog(double w = 0, string name = "未知") : Pet(w, name) {}
    ~Dog() {}

    void Bark() override {
        cout << getName() << "发出了汪汪汪的叫声" << endl;
    }
};
#endif